package com.hs.sfzy.service;

import com.github.pagehelper.PageInfo;
import com.hs.sfzy.entity.Coursemark;

import java.util.List;

public interface CoursemarkService {
    List<Coursemark> selectAll(Coursemark coursemark);

    PageInfo<Coursemark> selectByPage(int pageNum,int pageSize,Coursemark coursemark);

    int deleteById(int id);

    int insert(Coursemark coursemark);

    // 根据课程id查评价
    List<Coursemark> selectByCourseId(Long courseId);
}
